<%-- 
    Document   : index
    Created on : Jul 19, 2008, 8:43:31 PM
    Author     : Hitesh Ubharani
    email      : hiteshubharani@gmail.com
    copyrights ©2008 Hitesh Ubharani
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


<html> 
    <head> 
        <title></title>
        
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
         
    </head> 
    <body> 
        
    <a href="j/demo.js" target="_blank">click here</a> to see the js file<br/><br/>
        
        <div> 
            
            <form id="form0" name="testCache">
            
                Test Cache
                <table border="0">
                <thead>
                <tr>
                <th></th>
                <th></th>
                </tr>
                </thead>
                <tbody>
                <tr>
                <td> Query:</td>
                <td><input type="text" name="query" value="testCache" /></td>
                </tr>
                <tr>
                <td>IMEI:</td>
                <td><input type="text" name="IMEI" value="0123456789" /></td>
                </tr>
                <tr>
                <td>AppId:</td>
                <td> <input type="text" name="appId" value="1" /></td>
                </tr>
                <tr>
                <td>Cache:</td>
                <td><select name="cache">
                    <option value="enable">Enable</option>
                    <option value="disable">Disable</option>    
                    </select>
                </td>
                </tr>
                <tr>
                <td> <input type="button" value="Go" name="Submit0" onClick="return MLBS.Demo.loadResults(0)"/></td>
                <td></td>
                </tr>
                </tbody>
                </table>
            
            </form>
            
            <br/><br/>
            
            
            
            <form id="form1" name="testLocationService" >
                Test Location Service(Enter (City &amp; State) or Zip)
                <table border="0">
                <thead>
                <tr>
                <th></th>
                <th></th>
                </tr>
                </thead>
                <tbody>
                <tr>
                <td>Find:</td>
                <td><input type="text" name="query" value="" /></td>
                </tr>
                <tr>
                <td>City:</td>
                <td><input type="text" name="City" value="" /></td>
                </tr>
                <tr>
                <td>State:</td>
                <td><input type="text" name="State" value="" /></td>
                </tr>
                <tr>
                <td>Zip:</td>
                <td><input type="text" name="Zip" value="" /></td>
                </tr>
                <tr>
                <td><input type="button" value="Go" name="Submit1" onclick="return MLBS.Demo.loadResults(1)" /></td>
                <td></td>
                </tr>
                </tbody>
                </table>
              
            </form>
            
            <br/><br/>
            
            <form id="form2" name="testAuthorization">
                Test Authorization(correct password is: 1111)
                <table border="0">
                <thead>
                <tr>
                <th></th>
                <th></th>
                </tr>
                </thead>
                <tbody>
                <tr>
                <td>IMEI:</td>
                <td> <input type="text" name="IMEI" value="0123456789" /></td>
                </tr>
                <tr>
                <td>Password:</td>
                <td><input type="text" name="PassWord" value="" /></td>
                </tr>
                <tr>
                <td><input type="button" value="Go" name="Submit2"  onClick="return MLBS.Demo.loadResults(2)"/></td>
                <td></td>
                </tr>
                </tbody>
                </table>
            </form>
            
            <br/><br/>
            
            <form id ="form3" name="testPrivacy" >
                Test Privacy
                <table border="0">
                <thead>
                <tr>
                <th></th>
                <th></th>
                </tr>
                </thead>
                <tbody>
                <tr>
                <td>Query:</td>
                <td>  <input type="text" name="query" value="testPrivacy" /></td>
                </tr>
                <tr>
                <td>IMEI:</td>
                <td>  <input type="text" name="IMEI" value="0123456789" /></td>
                </tr>
                <tr>
                <td>AppId:</td>
                <td><input type="text" name="appId" value="1" /></td>
                </tr>
                <tr>
                <td>Privacy:</td>
                <td><select name="privacy">
                    <option value="enable">Enable</option>
                    <option value="disable">Disable</option
                    </select>
                </td>
                </tr>
                <tr>
                <td><input type="button" value="Go" name="Submit3"  onClick="return MLBS.Demo.loadResults(3)"/></td>
                <td></td>
                </tr>
                </tbody>
                </table>
         </form>
            
            
        </div>
        
        <div  style="position:relative; top:-44em; left:25em;"   id = "results">
            
         <!--  <input id="resultstext" type="text" name="results" multiline="true" value="" readonly="readonly" wrap="on" style="width:25em; height:10em;" />-->
            <textarea type="text" cols="25" rows ="15"id="resultstext" style="padding: .5em;" >Results:</textarea>
        </div>
           


        
        <script src="j/demo.js"></script>
       

        
        
        
    </body> 
</html> 
